package com.wlw.admin.openeye.mvp.contract

import com.wlw.admin.openeye.base.IBaseView
import com.wlw.admin.openeye.base.IPresenter
import com.wlw.admin.openeye.mvp.model.bean.HomeBean

interface HomeContract {
    interface View : IBaseView {
        fun setHomeData(homeBean: HomeBean)
        fun setMoreData(itemList: ArrayList<HomeBean.Issue.Item>)
        fun showError(msg: String, errorCode: Int)
    }

    interface Presenter : IPresenter<View> {
        fun requestHomeData(num: Int)
        fun loadMoreData()
    }
}